7.5.2. Math Behind K-Nearest Neighbors